package com.dingpeikeji.quickdeer.modules.priceup.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.modules.priceup.dao.TPriceupHistDao;
import com.dingpeikeji.quickdeer.modules.priceup.entity.TPriceupHist;

/**
 * 价格干预Service
 * @author dingpei
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class TPriceupHistService extends CrudService<TPriceupHistDao, TPriceupHist> {

	public TPriceupHist get(String id) {
		return super.get(id);
	}
	
	public List<TPriceupHist> findList(TPriceupHist tPriceupHist) {
		return super.findList(tPriceupHist);
	}
	
	public Page<TPriceupHist> findPage(Page<TPriceupHist> page, TPriceupHist tPriceupHist) {
		return super.findPage(page, tPriceupHist);
	}
	
	@Transactional(readOnly = false)
	public void save(TPriceupHist tPriceupHist) {
		super.save(tPriceupHist);
	}
	
	@Transactional(readOnly = false)
	public void delete(TPriceupHist tPriceupHist) {
		super.delete(tPriceupHist);
	}
	
}